<?php
/*******************************************************************************
 * LightPress - http://lightpress.org
 *
 * Copyright 2004-2006 Ludovico Magnocavallo, Jerome Lavigne
 * Released under the GPL http://www.gnu.org/copyleft/gpl.html
 *
 * $Id: LightPressOptions.php,v 1.41 2005/07/21 16:27:49 ludo Exp $
 ******************************************************************************/


// database configuration

$db_options = array(
    'user'              => 'DB_USER',
    'passwd'            => 'DB_PASSWORD',
    'db'                => 'DB_NAME',
    'prefix'            => 'wp',
    'server'            => 'localhost'
);

// end user configuration

$lp_path = getcwd();

if (!is_dir($lp_path) || !is_readable($lp_path))
    die("invalid path $lp_path in " . __FILE__);

if (version_compare(PHP_VERSION, '4.3.1', '<'))
    define('PATH_SEPARATOR', (DIRECTORY_SEPARATOR == '/' ? ':' : ';'));

ini_set(
    'include_path',
    ini_get('include_path') . PATH_SEPARATOR . $lp_path);

error_reporting(E_ALL ^ E_NOTICE);
ini_set('display_errors', 0);

$cache = null;

// include_once 'cache/init.php';

require_once 'classes/Frontend.php';

// there should be no spaces or empty lines after the PHP close tag below

?>